package com.ztsoft.user.service.dynamic;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ztsoft.user.pojo.entity.dynamic.DynamicForm;
import com.ztsoft.user.pojo.entity.dynamic.FormDetail;
import com.ztsoft.user.pojo.vo.dynamic.DynamicFormVo;
import com.ztsoft.user.pojo.vo.dynamic.SearchVerifyVo;

import java.util.List;
import java.util.Map;

public interface FormDetailService extends IService<FormDetail> {
    void saveFormDetail(FormDetail formDetail);

    List<FormDetail> queryAllFormDetail(FormDetail formDetail);

    void generateFormDetail(List<DynamicFormVo> formList,
                            DynamicForm dynamicForm,
                            Map<String, List<SearchVerifyVo>> rules,
                            Map<String, Object> defaultValueMap);
}